package thread.java20221201;

/**
 * Thread的构造方法
 */
public class Demo8 {
    public static void main(String[] args) {
        Thread thread = new Thread(()->{
            while (true){

            }
        },"我的线程");

        thread.start();
    }
}
